Skip to content

Conversation

@kennethloeffler
Copy link
Member

After #414, SharedString values are now representable in serde formats, meaning that it's now possible for the reflection database to define defaults for SharedString properties. This will be useful for Rojo's syncback, when SharedString properties need to be written to JSON files: UpliftGames/rojo#6 (comment).

@kennethloeffler
Copy link
Member Author

Whoops, looks like some SharedString tests failed. I'll spin through in a bit to figure out what went wrong!

@Dekkonot
Copy link
Member

And after my approval too. 😔

This looks like it's just a consequence of adding defaults. Since they're present, we no longer generate an empty one for SharedString properties. This changes the index of other strings in the file though, since one is no longer present.

@kennethloeffler kennethloeffler merged commit de2b37b into rojo-rbx:master Oct 23, 2024
@kennethloeffler kennethloeffler deleted the add-shared-string-defaults branch October 23, 2024 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants